
var sa= document.querySelector("#sa");
var lo = document.querySelector("#lo");
var hu = document.querySelector("#hu");

window.onscroll = function(){
    if(document.documentElement.scrollTop >0 || document.body.scrollTop > 0){
        hu.style.display = "none";
        lo.style.display = "none";
        sa.style.display = "block"
    }else if( document.body.scrollTop <110){
        hu.style.display = "block";
        lo.style.display = "block";
        sa.style.display = "none"
    }
};
sa.addEventListener('click',function(){
    window.scrollTo(0,0);

});


var img = document.querySelector("#rr");
var img1 = document.querySelector("#rr1");
var ul = document.querySelector("#ul");
function s(){
    img1.style.display = "block";
    ul.style.display = "block";
    img.style.display = "none"
}
function f(){
    img1.style.display = "none";
    ul.style.display = "none";
    img.style.display = "block"
}

